<include file="Public/head" />
<link type="text/css" rel="stylesheet" href="{:get_style_cdnurl()}paimai/yunying/css/cashier.css" />
<include file="Public/common_header" />
<div class="mian">
    <div class="mianL">
        <include file="Public/sidebar" menu="jybggl.zysh"/>
    </div>
        <div class="mianR">
			
            <h3 class="yonghu">争议信息</h3>
 			<div class="arbitration">
 				<table>
 					<tbody>
 						<tr>
                            <td>车辆名称</td><td>{$res.model}</td>
                            <td>拍单号</td><td>{$res.order_no}</td>
                        </tr>
 						<tr>
                            <td>车辆编号</td><td>{$res.sno}</td>
                            <td>发起时间</td><td>{$res.createtime}</td>
                        </tr>
 						<tr>
                            <td>争议原因</td><td><?php echo $dispute_reason[$res['dispute_reason']]; ?></td>
                            <td>审核状态</td><td><?php echo $dispute_status[$res['status']];?></td>
                        </tr>
 						<tr>
                            <td>争议说明</td><td colspan="3">{$res.remark}</td>
                        </tr>
                        <?php if ($res['status'] == 3): ?>
                            <tr>
                                <td>驳回原因</td><td colspan="3">{$res.reject_result}</td>
                            </tr>
                        <?php endif ?>
 					</tbody>
 				</table>
 			</div>
 			<?php if ($res['status'] != 3): ?>
                <div class="change-order-cont">
                    <h3 class="yonghu">拍单变更单信息</h3>
                    <div class="arbitration">
                    <table>
                        <tbody>
                            <tr>
                                <td width="15%">拍单号</td>
                                <td width="35%">{$res.order_no}</td>
                                <td width="15%">变更单编号</td>
                                <td width="35%">{$res.modify_no}</td>
                            </tr>
                            <tr>
                                <td width="15%">变更原因</td>
                                <td width="35%"><?php echo $modify_reason[$res['modify_reason']] ?></td>
                                <td width="15%">变更结果</td>
                                <td width="35%">
                                <?php if ($res['modify_result'] == 1): ?>
                                    赔付
                                <?php else: ?>
                                    订单关闭
                                <?php endif ?>
                                </td>
                            </tr>
                            <tr>
                                <td width="15%">变更单状态</td>
                                <td width="35%"><?php echo $modify_status[$res['modify_status']] ?></td>
                                <td width="15%">变更处理时间</td>
                                <td width="35%">{$res.dealtime}</td>
                            </tr>
                            <tr>
                                
                                <td width="15%">变更备注</td>
                                <td width="35%" colspan="3">{$res.modify_desc}</td>
                            </tr>
                        </tbody>
                    </table>
                </div>
                <?php if ($res['dealer_compensate'] > 0): ?>
                <div class="car-handle">
                    <h3 class="yonghu">车商处理</h3>
                    <div class="cost-money">赔付金额<span>{$res.dealer_compensate}元</span></div>
                </div>
                <!--买方收款账号-->
                <div class="refund">
                    <h3>买方收款账号</h3>
                    <ul class="clearfix">
                        <li><span>开户名：</span>{$res.card_no}</li>
                        <li><span>银行帐号：</span>{$res.bank_name}</li>
                        <li><span>银行名称：</span>{$res.account_name}</li>
                    </ul>
                </div>
                <?php endif ?>
                
                <?php if ($res['owner_compensate'] > 0): ?>
                <div class="car-handle">
                    <h3 class="yonghu">车主处理</h3>
                    <div class="cost-money">赔付金额<span>{$res.owner_compensate}元</span></div>
                </div>
                <!--卖方收款账号-->
                <div class="refund">
                    <h3>卖方收款账号</h3>
                    <ul class="clearfix">
                        <li><span>开户名：</span>{$res.card_no}</li>
                        <li><span>银行帐号：</span>{$res.bank_name}</li>
                        <li><span>银行名称：</span>{$res.account_name}</li>
                    </ul>
                </div>
                <?php endif ?>

                <?php if ($res['dealer_deduction'] > 0): ?>
                <div class="car-handle">
                    <h3 class="yonghu">车商处理</h3>
                    <div class="cost-money">扣除金额<span>{$res.dealer_deduction}元</span></div>
                </div>
                <!--买方收款账号-->
                <div class="refund">
                    <h3>买方收款账号</h3>
                    <ul class="clearfix">
                        <li><span>开户名：</span>{$res.card_no}</li>
                        <li><span>银行帐号：</span>{$res.bank_name}</li>
                        <li><span>银行名称：</span>{$res.account_name}</li>
                    </ul>
                </div>
                <?php endif ?>

                <?php if ($res['owner_deduction'] > 0): ?>
                <div class="car-handle">
                    <h3 class="yonghu">车主处理</h3>
                    <div class="cost-money">扣除金额<span>{$res.owner_deduction}元</span></div>
                </div>
                <!--买方收款账号-->
                <div class="refund">
                    <h3>卖方收款账号</h3>
                    <ul class="clearfix">
                        <li><span>开户名：</span>{$res.card_no}</li>
                        <li><span>银行帐号：</span>{$res.bank_name}</li>
                        <li><span>银行名称：</span>{$res.account_name}</li>
                    </ul>
                </div>
                <?php endif ?>
            <?php endif ?>
 			
 			<div class="yongBtn clearfix">
	            <input class="quxiao" type="submit" value="关闭" onclick="javascript:window.opener=null;window.open('','_self');window.close();">
        	</div>
        </div>        
    <div class="clear"></div>
</div>

</body>
</html>